home *** CD-ROM | disk | FTP | other *** search
-
-
- #ifndef FRPOWERUP_H
- #define FRPOWERUP_H
-
- #include <Engine/Engine.h>
-
- #define POWERUP_N2O 0
- #define POWERUP_ROCKET 1
- #define POWERUP_MINE 2
- #define POWERUP_OIL 3
-
- class FRPowerUp : public TEEngineObject
- {
- TERTTIDeclaration;
-
- public:
-
- FRPowerUp(TEVector &rPos);
-
- Int32 m_lType;
- UInt32 m_ulRespawnTime;
-
- static bool ms_bHideType;
-
- protected:
-
- void Animate(UInt32 ulDeltaT, TEEngine* pEngine);
- void OnClip(TEEngineObject* pInfluencer);
- bool VolStaticInfluence(UInt32 ulDeltaT, TEEngineObject* pObject);
-
- void RenderShadow(TERenderer* pRender, TECamera* pCam,
- TELight* pLights, TEShadowMethod DefaultMethod,
- bool bMoreThanOneShadow);
-
- private:
-
- void UpdateModel(void);
- };
-
-
- class FROilPuddle : public TEEngineObject
- {
- TERTTIDeclaration;
-
- public:
-
- FROilPuddle(TEVector &rPos);
- ~FROilPuddle();
-
- protected:
-
- TEDecal* m_pDecal;
-
- bool Clips(TEBoundingVolume &rVol){return false;}
- bool Clips(TEBoundingVolume &rVol, TEPlane &rPlane){return false;}
- bool Clips(TEVector &rRayPos, TEVector &rRayDir){return false;}
- bool Clips(TEVector &rRayPos, TEVector &rRayDir, TEVector &rIntersection){return false;}
- bool Clips(TEVector &rRayPos, TEVector &rRayDir, TEClipInfo &rInfo){return false;}
-
- void Render(TERenderer* pRender, TECamera* pCam);
- void OnClip(TEEngineObject* pInfluencer);
- bool VolStaticInfluence(UInt32 ulDeltaT, TEEngineObject* pObject);
- };
-
- class FREMPMine : public TEEngineObject
- {
- TERTTIDeclaration;
-
- public:
-
- FREMPMine(TEVector &rPos);
- ~FREMPMine();
-
- protected:
-
- TESoundReference* m_pSound;
- TEParticleFX* m_pPart;
- UInt32 m_ulClipState;
-
- void Animate(UInt32 ulDeltaT, TEEngine* pEngine);
- void OnClip(TEEngineObject* pInfluencer);
- };
-
- class FREMPRocket : public TEEngineObject
- {
- TERTTIDeclaration;
-
- public:
-
- FREMPRocket(TEVector &rPos, TEVector &rForward, TEVector &rRot);
- ~FREMPRocket();
-
- protected:
-
- TESoundReference* m_pSound;
- TEParticleFX* m_pPart;
- TEVector m_ParticleDelta;
- UInt32 m_ulClipState;
-
- void Animate(UInt32 ulDeltaT, TEEngine* pEngine);
- void OnClip(TEEngineObject* pInfluencer);
- };
-
-
- #endif
-
-